home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3577 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.8 KB  |  51 lines

  1. Newsgroups: comp.sys.sun.admin,comp.sys.unix,comp.lang.c
  2. Path: news.sprintlink.net!eskimo!scs
  3. From: scs@eskimo.com (Steve Summit)
  4. Subject: Re: Yet more GCC 2.7.2 problems (SunOS 4).  Memmove is missing.
  5. X-Nntp-Posting-Host: eskimo.com
  6. Message-ID: <DLyyJ3.Cn8@eskimo.com>
  7. Sender: news@eskimo.com (News User Id)
  8. Organization: schmorganization
  9. References: <310959EB.41C6@llnl.gov>
  10. Date: Tue, 30 Jan 1996 00:54:38 GMT
  11.  
  12. [Note that this followup, like the original query, is crossposted
  13. to three newsgroups; followersup beware!]
  14.  
  15. In article <310959EB.41C6@llnl.gov>, Sean Ahern <ahern@llnl.gov> writes:
  16. > Just to let you know what OS I'm on,
  17.  
  18. No, wait, let me guess [closes eyes, places fingers on forehead,
  19. scribbles something on scrap of paper]...
  20.  
  21. > uname -a gives me this:
  22. > SunOS spear.lln 4.1.3_U1 1 sun4c
  23.  
  24. Aha!  [reveals scrap of paper.]  I was right.
  25.  
  26. > I've compiled and installed GCC 2.7.2 on this machine, but I've noticed that
  27. > I'm missing something important.  The memmove call is missing, it seems...
  28. > Looking around the configuration for sun and the source code for gcc would lead
  29. > me to believe that memmove should be in the libgcc.a libraries, but I can't
  30. > seem to find it.
  31.  
  32. Can't seem to find memmove, or can't seem to find the gcc
  33. libraries?  The latter should indeed contain the former.
  34.  
  35. > I also can't seem to find anything mentioning this on the Web
  36. > or in any FAQ.
  37.  
  38. From the comp.lang.c FAQ list:
  39.  
  40. 11.30:    Why are some ANSI/ISO Standard library routines showing up as
  41.     undefined, even though I've got an ANSI compiler?
  42.  
  43. A:    It's possible to have a compiler available which accepts ANSI
  44.     syntax, but not to have ANSI-compatible header files or run-time
  45.     libraries installed.  (In fact, this situation is rather common
  46.     when using a non-vendor-supplied compiler such as gcc.)  See
  47.     also questions 11.29, 13.25, and 13.26.
  48.  
  49.                         Steve Summit
  50.                         scs@eskimo.com
  51.